<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="x-dns-prefetch-control" content="on" />
    <meta http-equiv="Expires" content="0" />
    <meta http-equiv="Pragma" content="no-cache" />
    <meta name="keywords" content="安助活码,安助二维活码,安助二维码,微信群二维码,免费微信群活码裂变,社群裂变,微信群裂变,微信增粉裂变,微信批量自动建群,微信自动建群,自定义分组标签活码,企业微信活码群,渠道活码,地区活码,客服码,私域流量,防封二维码,动态二维码,永久二维码,微信加粉统计,抖音卡片,短链接,跳转小程序,公众号跳转小程序,微信公众号跳转小程序,h5跳转小程序,app跳转小程序,网页跳转小程序,公众号菜单跳转小程序,微信外链,微信小程序外链,微信公众号外链">
    <meta name="description" content="安助二维活码-免费微信群活码宝工具彻底解决微信个人号加人限制，微信群及企业微信群二维码满200人后，无法继续扫码进群的问题！微友群活码二维码永不过期。快速实现引流裂变，沉淀私域流量！另外可以快速生成小程序链接，跳转微信小程序的指定页面，可实现微信公众号菜单跳转小程序，网页h5跳转小程序，app跳转小程序,安助、安助活码、短链接、安助活码、安助活动、短链接、二维码生成器、解码神器、自动化编写、转码、视频转码">
    <meta http-equiv="Cache-control" content="no-cache" />
    <meta http-equiv="Cache" content="no-cache" />
    <meta name="referrer" content="no-referrer">
    <link rel="icon" href="data:;base64,=">
    <link rel="icon" href="data:,">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>加载中...</title>
    <style>
        .body{
            width: 100%;
            height: 100%;
        }
    </style>
</head>

<body id="body">
</body>

<!--<script src="https://cdn.bootcdn.net/ajax/libs/layer/3.5.1/layer.min.js"></script>-->
<script src="https://nilife.oss-cn-beijing.aliyuncs.com/miniapp/images/setting/jquery-3.5.1-min.js"></script>
<script>
    var urlParamsObj = getParams(location.href);
    // $host."/huoma/computeData?data=".urlencode($this->createEncryptDate(urlParamsObj.qrCodeId))."PPPQQQ"
    urlParamsObj.clientWidth = document.documentElement.clientWidth || document.body.clientWidth;

    urlParamsObj.endVisitTime = timestamp = new Date().getTime()/1000+300;
    urlParamsObj.r_code = getCookie("r_code");
    if(urlParamsObj.r_code == ""){
        urlParamsObj.r_code = generateRandomString(6);
        setCookie("r_code",urlParamsObj.r_code)
    }
    console.log("getCookie",getCookie("r_code"))



    urlParamsObj.jumpHost = "https://"+window.location.hostname;

    getArticleDetail();

    function getArticleDetail() {
        // timeDown();
        $.ajax({
            url:"https://a.qdhongzhi.cn/huoma/computeData",
            data:urlParamsObj,
            method: 'GET',
            success:function(result){

                $("#body").html(result)
                // console.log("getCookie1",getCookie("r_code"),result)
            }
        });
    }
    function getParams(url) {
        const regex = /[?&]([^=#]+)=([^&#]*)/g;
        const params = {};
        let match;
        while (match = regex.exec(url)) {
            params[decodeURIComponent(match[1])] = decodeURIComponent(match[2]);
        }
        return params;
    }

    function setCookie(name, value, daysToLive) {
        let cookie = name + "=" + encodeURIComponent(value);
        if (typeof daysToLive === "number") {
            cookie += "; max-age=" + (daysToLive*24*60*60); // max-age单位是秒
        }
        document.cookie = cookie;
    }



    function getCookie(name) {
        const cookies = document.cookie.split("; ");
        for (let i = 0; i < cookies.length; i++) {
            const [cookieName, cookieValue] = cookies[i].split("=");
            if (name === cookieName) {
                return decodeURIComponent(cookieValue);
            }
        }
        return "";
    }

    function generateRandomString(length) {
        let result = '';
        const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
        const charactersLength = characters.length;
        for (let i = 0; i < length; i++) {
            result += characters.charAt(Math.floor(Math.random() * charactersLength));
        }
        return result;
    }


</script>


</html>
